<template>
<div class="chart" ref="sam">

</div>
</template>

<script>
import axios from "axios";
export default {
  name: "studentChart",
  data(){
    return{
      chartInstance:null,
      allData:null
    }
  },
  mounted() {
    this.initchart()
    this.getDate()

  },
  methods:{
    initChart(){
      this.chartInstance=this.$echarts.init(this.$refs.sam)
    },
    getData(){
      axios.get('')
    }
  }
}
</script>

<style scoped>

</style>
